home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CCCCHHHHIIIIDDDDIIII((((3333FFFF)))) CCCCHHHHIIIIDDDDIIII((((3333FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- CHIDI - CHIDI computes the determinant, inertia and inverse of a
- complex Hermitian matrix using the factors from CHIFA.
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
- SUBROUTINE CHIDI(A,LDA,N,KPVT,DET,INERT,WORK,JOB)
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- On Entry
-
- AAAA COMPLEX(LDA,N)
- the output from CHIFA.
-
- LLLLDDDDAAAA INTEGER
- the leading dimension of the array A.
-
- NNNN INTEGER
- the order of the matrix A. KVPT INTEGER(N)
- the pivot vector from CHIFA.
-
- WWWWOOOORRRRKKKK COMPLEX(N)
- work vector. Contents destroyed.
-
- JJJJOOOOBBBB INTEGER
- JOB has the decimal expansion ABC where
- if C .NE. 0, the inverse is computed,
- if B .NE. 0, the determinant is computed,
- if A .NE. 0, the inertia is computed.
- For example, JOB = 111 gives all three. On Return Variables not
- requested by JOB are not used.
-
- AAAA contains the upper triangle of the inverse of
- the original matrix. The strict lower triangle
- is never referenced.
-
- DDDDEEEETTTT REAL(2)
- determinant of original matrix.
- Determinant = DET(1) * 10.0**DET(2)
- with 1.0 .LE. ABS(DET(1)) .LT. 10.0
- or DET(1) = 0.0.
-
- IIIINNNNEEEERRRRTTTT INTEGER(3)
- the inertia of the original matrix.
- INERT(1) = number of positive eigenvalues.
- INERT(2) = number of negative eigenvalues.
- INERT(3) = number of zero eigenvalues. Error Condition
-
- AAAA division by zero may occur if the inverse is requested and CHICO has
- set RCOND .EQ. 0.0 or CHIFA has set INFO .NE. 0 . LINPACK. This
- version dated 08/14/78 . James Bunch, Univ. Calif. San Diego, Argonne
- Nat. Lab. Subroutines and Functions BLAS CAXPY,CCOPY,CDOTC,CSWAP Fortran
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- CCCCHHHHIIIIDDDDIIII((((3333FFFF)))) CCCCHHHHIIIIDDDDIIII((((3333FFFF))))
-
-
-
- ABS,CABS,CMPLX,CONJG,IABS,MOD,REAL
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-